import req from './request.js'

export const login = (username, password) => {
    return req.post('/api/user/login', { username, password })
}